package com.share.payment.service;

import com.github.binarywang.wxpay.bean.result.WxPayOrderQueryResult;
import com.github.binarywang.wxpay.exception.WxPayException;
import com.share.payment.domain.CreateWxPaymentForm;
import com.share.payment.domain.WxPrepayVo;

/**
 * @author ZhouShuang
 * @version 17
 * @Title
 * @date 2025/10/25 上午9:00
 */
public interface IWxService {
    /**
     * 微信下单
     * @param createWxPaymentForm
     * @return
     */
    WxPrepayVo createWxPayment(CreateWxPaymentForm createWxPaymentForm);

    /**
     * 微信支付状态的查询
     * @param orderNo
     * @return
     */
    WxPayOrderQueryResult queryPayStatus(String orderNo) ;
}
